package cn.xinfei.xdecision.common.model.enginex.model;

import lombok.Data;

@Data
public class RuleHitModel {

    private String engineCode;
    private String nodeCode;
    private Long versionNo;
    private Long ruleId;
    private Long ruleVersionId;
    private Long blockId;
    private String ruleCode;
    private String ruleName;
    private String nodeType;
    /**
     * 是否命中
     */
    private boolean ruleHitFlag;
    /**
     * 的分
     */
    private long ruleScore=0l;

    public RuleHitModel() {
    }
    public RuleHitModel(boolean ruleHitFlag) {
        this.ruleHitFlag = ruleHitFlag;
    }
    public RuleHitModel(boolean ruleHitFlag, Long ruleScore) {
        this.ruleHitFlag = ruleHitFlag;
        this.ruleScore = ruleScore;
    }
}
